// Jpeg.h: interface for the CJpeg class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_JPEG_H__393B0CA2_0904_4ED5_B2A1_1195CD4B7618__INCLUDED_)
#define AFX_JPEG_H__393B0CA2_0904_4ED5_B2A1_1195CD4B7618__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class IDib;

class CJpeg  
{
public:
	CJpeg();
	virtual ~CJpeg();
};

__declspec(dllexport) BOOL Jpeg_ReadFromFile(CFile* pFile, int nReadLen, IDib* pDib);
__declspec(dllexport) BOOL Jpeg_SaveToFile(CFile* pFile, IDib* pDib, int quality, int* pSaveLen); // quality value 1-100.

#endif // !defined(AFX_JPEG_H__393B0CA2_0904_4ED5_B2A1_1195CD4B7618__INCLUDED_)
